package com.hu.bgp.client.rpc;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.hu.bgp.framework.clientapi.ClientGameContext;
import com.hu.bgp.framework.clientapi.ClientToServerMessage;
import com.hu.bgp.shared.data.ClientGameType;
import com.hu.bgp.shared.data.ClientGameTypeCollection;

/**
 * Async editie (voor in javascript) van de BoardGameService servlet interface.
 * Automagisch gegenereerd door GWT.
 * 
 * @author ejvos
 */
public interface BoardGameServiceAsync
{
	public void handleMessage(ClientToServerMessage message, AsyncCallback<Void> callback);

	public void getClientGameContext(AsyncCallback<ClientGameContext> callback);

	public void getClientGameTypeCollection(AsyncCallback<ClientGameTypeCollection> callback);

	public void activateGame(ClientGameType gameType, AsyncCallback<Void> callback);

	void getClientGameTypeAdminCollection(AsyncCallback<ClientGameTypeCollection> callback);
}
